package com.qinggeng.project.system.domain;

import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import com.qinggeng.framework.web.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单商品对象 orders_goods
 *
 * @author qinggeng
 * @date 2020-06-17
 */
@Data
public class OrdersGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单商品ID */
    private Long ordersGoodsId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long ordersId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String goodsImg;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal goodsPrice;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer goodsNum;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;


    private List<UserWishGift> goodsGiftList;

    /** 商品属性 */
    @Excel(name = "商品属性")
    private String attributes;

    /** 是否评价 10=待评价 20=已评价 */
    @Excel(name = "评价状态")
    private String evalStatus;

    /** 商品提成百分比 */
    @Excel(name = "商品提成百分比")
    private BigDecimal percent;

    /** 商品提成百分比 */
    @Excel(name = "商品提成")
    private BigDecimal percentage;

    /** 商品利润率*/
    @Excel(name = "商品利润")
    private BigDecimal profit;

    /** 单商品退款 */
    @Excel(name = "单商品退款")
    private  Integer singleItemRefund;

    /** 商品优惠总价格 */
    @Excel(name = "商品优惠总价格")
    private BigDecimal discountPrice;

    //优惠状态 1优惠 0未优惠
    private String discountStatus;

    @Excel(name = "骑手id")
    private Long courierId;

    //团长审核状态
    private String refundAplStatus;

}
